package it.bela.pgcdc.domain;

import it.bela.pgcdc.common.bean.BaseBean;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Entity
@Table
public class Attivita extends BaseBean implements Serializable {

	@Transient
	private static final long serialVersionUID = 1L;

	@NotNull
	@Size(max = 30)
	private String descrizione;

	public void setDescrizione(String descrizione) {
		this.descrizione = descrizione;
	}

	public String getDescrizione() {
		return descrizione;
	}
}
